package com.regretbuying.pojo;

import java.io.Serializable;

//购物车表
public class Cart implements Serializable {
    private int cartId;                 //编号
    private int memberId;               //会员编号
    private int goodsId;                //商品编号
    private int specsId;                //规格编号
    private String goodsImages;         //商品图片
    private String goodsName;           //商品名
    private double unitPrice;           //单价
    private int cartNumber;             //数量
    private int specsStock;             //库存数量

    public int getCartId() {
        return cartId;
    }

    public void setCartId(int cartId) {
        this.cartId = cartId;
    }

    public int getMemberId() {
        return memberId;
    }

    public void setMemberId(int memberId) {
        this.memberId = memberId;
    }

    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    public int getSpecsId() {
        return specsId;
    }

    public void setSpecsId(int specsId) {
        this.specsId = specsId;
    }

    public String getGoodsImages() {
        return goodsImages;
    }

    public void setGoodsImages(String goodsImages) {
        this.goodsImages = goodsImages;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public double getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(double unitPrice) {
        this.unitPrice = unitPrice;
    }

    public int getCartNumber() {
        return cartNumber;
    }

    public void setCartNumber(int cartNumber) {
        this.cartNumber = cartNumber;
    }

    public int getSpecsStock() {
        return specsStock;
    }

    public void setSpecsStock(int specsStock) {
        this.specsStock = specsStock;
    }
}

